import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/risk_control_assessment_entity.g.dart';


@JsonSerializable()
class RiskControlAssessmentEntity {

	RiskControlAssessmentEntity();

	factory RiskControlAssessmentEntity.fromJson(Map<String, dynamic> json) => $RiskControlAssessmentEntityFromJson(json);
	late double analysisCount = 0;
	late double analysisRate = 0;
	late String endDate = '';
	late double investigationCount = 0;
	late double investigationRate = 0;
	late double rectificationCount = 0;
	late double rectificationRate = 0;
	late int scoreLevel = 0;
	late double scoreValue = 0;
	late String startDate = '';

	Map<String, dynamic> toJson() => $RiskControlAssessmentEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
